<?php
namespace ImiApp\Module\Member\Service\Base;

use Imi\Model\Model;
use Imi\Model\Annotation\DDL;
use Imi\Model\Annotation\Table;
use Imi\Model\Annotation\Column;
use Imi\Model\Annotation\Entity;

/**
 * 申请签到撤销 基类
 * @Entity
 * @Table(name="sc_jigou_team_sign_apply_cancel", id={"id"})
 * @DDL("CREATE TABLE `sc_jigou_team_sign_apply_cancel` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `team_table_id` int(10) DEFAULT NULL COMMENT '课程表id',
  `uid` int(10) DEFAULT NULL COMMENT '学员id',
  `apply_time` int(10) DEFAULT NULL COMMENT '申请时间',
  `teacher_status` enum('1','2','3') DEFAULT '1' COMMENT '老师状态:1=待处理,2=同意,3=拒绝',
  `jigou_status` enum('1','2','3') DEFAULT '1' COMMENT '机构状态:1=待处理,2=同意,3=拒绝',
  `admin_id` int(10) DEFAULT NULL COMMENT '机构id',
  `teacher_id` int(10) DEFAULT NULL COMMENT '老师id',
  `teacher_time` int(10) DEFAULT NULL COMMENT '老师处理时间',
  `jigou_time` int(10) DEFAULT NULL COMMENT '机构处理时间',
  `content` text COMMENT '申请内容',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='申请签到撤销'")
 * @property int $id 
 * @property int $teamTableId 课程表id
 * @property int $uid 学员id
 * @property int $applyTime 申请时间
 * @property string $teacherStatus 老师状态:1=待处理,2=同意,3=拒绝
 * @property string $jigouStatus 机构状态:1=待处理,2=同意,3=拒绝
 * @property int $adminId 机构id
 * @property int $teacherId 老师id
 * @property int $teacherTime 老师处理时间
 * @property int $jigouTime 机构处理时间
 * @property string $content 申请内容
 */
abstract class ScJigouTeamSignApplyCancelBase extends Model
{
    /**
     * id
     * @Column(name="id", type="int", length=10, accuracy=0, nullable=false, default="", isPrimaryKey=true, primaryKeyIndex=0, isAutoIncrement=true)
     * @var int
     */
    protected $id;

    /**
     * 获取 id
     *
     * @return int
     */ 
    public function getId()
    {
        return $this->id;
    }

    /**
     * 赋值 id
     * @param int $id id
     * @return static
     */ 
    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }

    /**
     * 课程表id
     * team_table_id
     * @Column(name="team_table_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $teamTableId;

    /**
     * 获取 teamTableId - 课程表id
     *
     * @return int
     */ 
    public function getTeamTableId()
    {
        return $this->teamTableId;
    }

    /**
     * 赋值 teamTableId - 课程表id
     * @param int $teamTableId team_table_id
     * @return static
     */ 
    public function setTeamTableId($teamTableId)
    {
        $this->teamTableId = $teamTableId;
        return $this;
    }

    /**
     * 学员id
     * uid
     * @Column(name="uid", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $uid;

    /**
     * 获取 uid - 学员id
     *
     * @return int
     */ 
    public function getUid()
    {
        return $this->uid;
    }

    /**
     * 赋值 uid - 学员id
     * @param int $uid uid
     * @return static
     */ 
    public function setUid($uid)
    {
        $this->uid = $uid;
        return $this;
    }

    /**
     * 申请时间
     * apply_time
     * @Column(name="apply_time", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $applyTime;

    /**
     * 获取 applyTime - 申请时间
     *
     * @return int
     */ 
    public function getApplyTime()
    {
        return $this->applyTime;
    }

    /**
     * 赋值 applyTime - 申请时间
     * @param int $applyTime apply_time
     * @return static
     */ 
    public function setApplyTime($applyTime)
    {
        $this->applyTime = $applyTime;
        return $this;
    }

    /**
     * 老师状态:1=待处理,2=同意,3=拒绝
     * teacher_status
     * @Column(name="teacher_status", type="enum", length=0, accuracy=0, nullable=true, default="1", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $teacherStatus;

    /**
     * 获取 teacherStatus - 老师状态:1=待处理,2=同意,3=拒绝
     *
     * @return string
     */ 
    public function getTeacherStatus()
    {
        return $this->teacherStatus;
    }

    /**
     * 赋值 teacherStatus - 老师状态:1=待处理,2=同意,3=拒绝
     * @param string $teacherStatus teacher_status
     * @return static
     */ 
    public function setTeacherStatus($teacherStatus)
    {
        $this->teacherStatus = $teacherStatus;
        return $this;
    }

    /**
     * 机构状态:1=待处理,2=同意,3=拒绝
     * jigou_status
     * @Column(name="jigou_status", type="enum", length=0, accuracy=0, nullable=true, default="1", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $jigouStatus;

    /**
     * 获取 jigouStatus - 机构状态:1=待处理,2=同意,3=拒绝
     *
     * @return string
     */ 
    public function getJigouStatus()
    {
        return $this->jigouStatus;
    }

    /**
     * 赋值 jigouStatus - 机构状态:1=待处理,2=同意,3=拒绝
     * @param string $jigouStatus jigou_status
     * @return static
     */ 
    public function setJigouStatus($jigouStatus)
    {
        $this->jigouStatus = $jigouStatus;
        return $this;
    }

    /**
     * 机构id
     * admin_id
     * @Column(name="admin_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $adminId;

    /**
     * 获取 adminId - 机构id
     *
     * @return int
     */ 
    public function getAdminId()
    {
        return $this->adminId;
    }

    /**
     * 赋值 adminId - 机构id
     * @param int $adminId admin_id
     * @return static
     */ 
    public function setAdminId($adminId)
    {
        $this->adminId = $adminId;
        return $this;
    }

    /**
     * 老师id
     * teacher_id
     * @Column(name="teacher_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $teacherId;

    /**
     * 获取 teacherId - 老师id
     *
     * @return int
     */ 
    public function getTeacherId()
    {
        return $this->teacherId;
    }

    /**
     * 赋值 teacherId - 老师id
     * @param int $teacherId teacher_id
     * @return static
     */ 
    public function setTeacherId($teacherId)
    {
        $this->teacherId = $teacherId;
        return $this;
    }

    /**
     * 老师处理时间
     * teacher_time
     * @Column(name="teacher_time", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $teacherTime;

    /**
     * 获取 teacherTime - 老师处理时间
     *
     * @return int
     */ 
    public function getTeacherTime()
    {
        return $this->teacherTime;
    }

    /**
     * 赋值 teacherTime - 老师处理时间
     * @param int $teacherTime teacher_time
     * @return static
     */ 
    public function setTeacherTime($teacherTime)
    {
        $this->teacherTime = $teacherTime;
        return $this;
    }

    /**
     * 机构处理时间
     * jigou_time
     * @Column(name="jigou_time", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $jigouTime;

    /**
     * 获取 jigouTime - 机构处理时间
     *
     * @return int
     */ 
    public function getJigouTime()
    {
        return $this->jigouTime;
    }

    /**
     * 赋值 jigouTime - 机构处理时间
     * @param int $jigouTime jigou_time
     * @return static
     */ 
    public function setJigouTime($jigouTime)
    {
        $this->jigouTime = $jigouTime;
        return $this;
    }

    /**
     * 申请内容
     * content
     * @Column(name="content", type="text", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $content;

    /**
     * 获取 content - 申请内容
     *
     * @return string
     */ 
    public function getContent()
    {
        return $this->content;
    }

    /**
     * 赋值 content - 申请内容
     * @param string $content content
     * @return static
     */ 
    public function setContent($content)
    {
        $this->content = $content;
        return $this;
    }

}
